<?php if(!is_array($tpl_error)):?>
	<p class="error"><?php echo $tpl_error;?></p>
<?php else:?>
	<ul class="error">
		<?php foreach($tpl_error as $s_key => $s_value):?>
			<li><strong><?php echo $s_key;?>: </strong><?php echo $s_value;?></li>
		<?php endforeach?>
	</ul>
<?php endif;?>
